package admin

import (
	"oc_saas/controller/admin"

	"github.com/gin-gonic/gin"
)

type Rule struct{}

func (*Rule) InitRuleRouteGroup(router *gin.RouterGroup) {
	var ruleRouterGroup = router.Group("rule")
	var api = admin.RuleController
	{
		ruleRouterGroup.POST("add", api.Add) //添加规则
	}
}

var AdminRouteGroup = new(Rule)
